Feature: Crear un Draft post, buscarlo en la lista de draft y eliminarlo
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 9.028s |
Scenario: Como autor creo un draft post, y lo busco en drafts y lo elimino
Before
0m 4.474s
Given
I go to page "<HOST>" "ghost/#/signin"
0m 8.935s
And
I sign in with "<USERNAME>" and "<PASSWORD>"
0m 4.462s
When
I click new post
0m 4.992s
And
I set post attributes title "$number_1" and body "$string_1"
0m 3.245s
And
I go to page "<HOST>" "ghost/#/posts?type=draft"
0m 7.753s
And
I Click a post with title "$$number_1"
0m 4.938s
And
I press settings button
0m 3.091s
And
I click delete from settings
0m 7.912s
And
I delete post
0m 7.791s
And
I go to page "<HOST>" "ghost/#/posts?type=draft"
0m 8.228s
Then
I validate the post with "$number_1" not exists
0m 3.116s
After
0m 0.091s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I go to page "<HOST>" "ghost/#/signin"
And
I sign in with "<USERNAME>" and "<PASSWORD>"
When
I click new post
And
I set post attributes title "$number_1" and body "$string_1"
And
I go to page "<HOST>" "ghost/#/posts?type=draft"
And
I Click a post with title "$$number_1"
And
I press settings button
And
I click delete from settings
And
I delete post
And
I go to page "<HOST>" "ghost/#/posts?type=draft"
Then
I validate the post with "$number_1" not exists
After
NO IMAGE AVAILABLE